﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SZCB.admin.FoodProp
{
    public partial class prop : System.Web.UI.Page
    {
        public string g_strFoodGuid = "";
        public string g_strFoodName = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Request.QueryString["sGuid"] == null || Request.QueryString["sGuid"] == "")
                {
                    Page.ClientScript.RegisterStartupScript(GetType(), "温馨提示", "<script language='javascript'>alert('您输入了非法路径！');history.back();</script>");
                }
                else
                {
                    g_strFoodGuid = Request.QueryString["sGuid"].ToString();
                    g_strFoodName = Request.QueryString["sName"].ToString();
                    InitData();
                }
            }

        }

        protected void InitData()
        {
            idfoodName.Text = g_strFoodName;
        }

    }
}